<template>
  <div class="home">
<!--    <img alt="Vue logo" src="../assets/logo.png">-->
    <home-search></home-search>
    <search-tags></search-tags>
    <swipe></swipe>
    <all-options></all-options>
    <actives-card></actives-card>
    <br><br><br>
    <!-- <Navigator></Navigator> -->
    
  </div>
</template>

<script>
// @ is an alias to /src
import Swipe from "../components/swipe/Swipe";
import ActivesCard from "../components/activesCard/ActivesCard";
import HomeSearch from "../components/Search/HomeSearch";
import SearchTags from "../components/Search/SearchTags";
import Navigator from '@/components/navi/Navigator'
import AllOptions from "../components/options/AllOptions";
// const { provide } = vue
// import store from '../store/index'
// console.log('store.state',store.state.count)
// store.commit('increment')
// console.log('store.state',store.state.count)

export default {
  name: 'Home',
  components: {
    'swipe': Swipe,
    'actives-card': ActivesCard,
    'home-search': HomeSearch,
    'search-tags': SearchTags,
    'all-options': AllOptions,
    'navigator': Navigator
  },
  computed: {
  },
  mounted() {
    
        // this.$axios.get('/back/user/init', { 
        //   params: //res.data.info 
        //   {
        //     "yb_userid":"39988545",
        //     "yb_username":"香甜的甲基橙",
        //     "yb_usernick":"香甜的甲基橙",
        //     "yb_sex":"M",
        //     "yb_birthday":"0000-00-00",
        //     "yb_money":"194",
        //     "yb_exp":"86",
        //     "yb_userhead":"http://img02.fs.yiban.cn/39988545/avatar/user/200",
        //     "yb_regtime":"2020-09-02 12:58:05",
        //     "yb_schoolid":"22017",
        //     "yb_schoolname":"西南石油大学"
        //   } 
        // }).then((res) => {
        //   console.log(res)
        // }).catch((err) => {
        //   console.log(err)
        // })

  }

}
</script>

<style>
  /*html{*/
  /*  background-color: #111;*/
  /*  color: #fff;*/
  /*}*/
</style>

